export default {
    ChangeHeight(){
        let data = {
            name: 'ChangeHeight',
        }
        window.parent.postMessage(data,'*');
    },

    Reload(){
        let data = {
            name: 'Reload',
        }
        window.parent.postMessage(data,'*');
    },

    ConfirmPay(){
        let data = {
            name: 'ConfirmPay',
        }
        window.parent.postMessage(data,'*');
    },

    HotNews(text){
        let data = {
            name: 'Hot',
            link: text
        }
        window.parent.postMessage(data,'*');
    },

    HotNewsModelHidden(text){
        let data = {
            name: 'HotModelHidden',
            link: text
        }
        window.parent.postMessage(data,'*');
    },


    ShowSuspention(type){
        let data = {
            name: 'ShowSuspention',
            type: type
        }
        window.parent.postMessage(data,'*');
    }
}